/**
 * 
 */
package com.zznode.client.wlanpolling.service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Bean
 *
 */
public class WifiGroup {
	private String SSID;
	
	private List<Wifi> apList = new ArrayList<Wifi>();
	
	public WifiGroup(String SSID) {
		this.SSID = SSID;
	}

	public String getSSID() {
		return SSID;
	}

	public List<Wifi> getApList() {
		return apList;
	}
	
	public void addWifi(Wifi wifi) {
		if(!apList.contains(wifi)) {
			apList.add(wifi);
		}
	}
	
	public void removeWifi(Wifi wifi) {
		apList.remove(wifi);
	}
}
